client:client.o command.o tlvSet.o client-trans_file.o longCommand.o
	gcc client.o command.o tlvSet.o client-trans_file.o longCommand.o -o client -lcrypto -lssl -lpthread  

client.o:client.c
	gcc -c client.c -o client.o -g -Wall

command.o:command.c
	gcc -c command.c -o command.o -g -Wall 

tlvSet.o:tlvSet.c
	gcc -c tlvSet.c -o tlvSet.o -g -Wall

longCommand.o:longCommand.c
	gcc -c longCommand.c -o longCommand.o -g -Wall

client_trans_file.o:client_trans_file.c
	gcc -c client_trans_file.c -o client_trans_file.o -g -Wall
